<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <div id="app">
        {{msg}}
        <input type="text" v-model="msg">
        <button v-on:click="handleClick">handleClick v-on</button>
        <button @click="handleClick">handleClick @</button>
    </div>
</body>
<script src="./funny-vue.js">
</script>
<script>
    const vm = new Vue({
        el:"#app",
        data:{
            msg:"hello"
        },
        methods:{
            handleClick:function(){
                console.log(this);
                this.msg = new Date().getTime();
            }
        }
    })

    //  vm.msg = "something";
     vm.$data.msg = "123"
</script>
</html>